package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.Student;
import com.ruoyi.system.mapper.StudentMapper;
import com.ruoyi.system.service.IStudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 学生表 服务实现类
 * </p>
 *
 * @author FSD
 * @since 2024-02-05
 */
@Service("StudentServiceImpl")
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {
@Resource StudentMapper studentMapper;
    @Override
    public List<Student> list2() {
        StudentMapper studentMapper1 = studentMapper;
        System.out.println("studentMapper1 = " + studentMapper1);
        return studentMapper.list2();
    }
}
